package week07.necessary.annotation;

import week07.necessary.enums.DatasourceEnums;

import java.lang.annotation.*;

/**
 * 只读数据源
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface DsReadOnly {
    DatasourceEnums ds() default DatasourceEnums.READ;
}
